<div class="hte-overview hte-webkit-scrollbar" >	
	<div class="hte-overview-inner" >	
		<input id="app-search-input" type="text" class="form-control" placeholder="输入关键字进行搜索">
		<div class="hte-overview-content">
			
		</div>
	</div>
</div>
<script>
	HteOS.Overview.init();
	(function() {
		$("#app-search-btn").click(search);
		$("#app-search-input").keyup(function(event){
				search();
		});
		function search() {
			var val = $("#app-search-input").val();
			if (!val) {
				$(".hte-overview-item").show();
			}else{
				$(".hte-overview-group").hide();
			}
			var apps = HteOS.AppManager.apps;
			for ( var a in apps) {
				var app = apps[a];
				if (app.name.indexOf(val) >= 0 ) {
					$("#hte-overview-item-" + app.id).show();
				}else{
					$("#hte-overview-item-" + app.id).hide();
				}
			}
		}
	})();
</script>